package com.neuedu.guide;

/***
 * 关系运算符 返回结果是  boolean
 */
public class OperationRelationship {

    public static void main(String[] args) {

        int numa = 10;
        int numb = 11;
        int numc = 11;

        System.out.println("numa = " + numa);
        System.out.println("numb = " + numb);
        System.out.println("numc = " + numc);


        System.out.println("(numa > numb) = " + (numa > numb));
        System.out.println("(numa < numb) = " + (numa < numb));
        System.out.println("(numa >= numb) = " + (numa >= numb));
        System.out.println("(numa <= numb) = " + (numa <= numb));
        System.out.println("(numa != numb) = " + (numa != numb));
        System.out.println("(numa == numb) = " + (numa ==  numb));
        System.out.println("(numb == numc) = " + (numb ==  numc));

    }


}
